home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / MacWT 0.9 / wt Mac Source / MacWT.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-10  |  786 b   |  31 lines  |  [TEXT/CWIE]

  1. /*
  2. ** File:        MacWT.h
  3. **
  4. ** Written by:    Bill Hayden
  5. **                Nikol Software
  6. **
  7. ** Copyright © 1995 Nikol Software
  8. ** All rights reserved.
  9. */
  10.  
  11.  
  12. extern DialogRef        gWindow;
  13. extern DialogRef        gBackgroundWindow;
  14. extern EventRecord        gTheEvent;
  15. extern Boolean            quitting, gPaused, gShowFPS, gGameOn, gTrueColor;
  16. extern Boolean            gKeyboardControl, gUseQuickdraw;
  17. extern Boolean            gDrawFC;
  18. extern Str255            gWorldFile;
  19. extern Str15            gWTVersion;
  20. extern long                gStartTicks, gFrameCount;
  21. extern short            gScreenDepth, gCurrentDepth, gSizeOfPixel;
  22.  
  23. void InitMacWT(void);
  24. void DisposeMacWT(void);
  25.  
  26. extern void BeginGame(void);            // game begins...
  27. extern void TogglePause(void);            // pause/continue game
  28. extern void MacAttractMode(void);
  29.  
  30.  
  31. #define    MacKeyDown(kmp, code)    (( kmp[code>>3] >> (code & 7)) & 1)